﻿
@{
    ViewData["Title"] = "Index";
}

@{
    var param = new Dictionary<string, string>()
{
        { "id","1" },
        { "currentYear","true"}
    };

}

<h1>Index</h1>

<a asp-controller="InnerTag" asp-action="Details" asp-route-empId="2" asp-route-empname="李四">李四</a>


<br />


<!-- [Route("/Employee/Employeeval",Name ="Employeeeval")] asp-route:指定的是Route特性的Name-->
<a asp-route="Employeeeval">asp-route</a>


<br />

<a asp-route="EvaluationsCurrent" asp-all-route-data="param">asp-all-route-data</a>